package com.ddd.domain.user.bo;

import com.ddd.domain.user.entity.OrganizationDo;
import com.ddd.domain.user.entity.PermissionDo;
import com.ddd.domain.user.entity.RoleDo;
import com.ddd.domain.user.entity.UserDo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfoBo {
    private  String userId; //用户编号
    private  UserDo  userDo;
    private List<RoleDo> roleDos;  //用户的角色
    private List<PermissionDo> permissionDos; //每个角色所对应的资源(也就是能干啥)
    private OrganizationDo organizationDo; //用户所对应的公司

}
